home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / util / autodele.sit / AutoDelete Documentation < prev    next >
Text File  |  1987-07-03  |  4KB  |  98 lines

  1.  
  2. [AutoDelete Utility]
  3.  
  4.                     AutoDelete(tm) (c)1987 by John Lim
  5.  
  6. INTRODUCTION
  7.  
  8. AutoDelete(tm) (c)1987 is an application written by John Lim that when
  9. launched automatically deletes all unwanted files in a folder or
  10. directory and then optionally self-destructs. This is particularly
  11. useful if you have a RAMdisk program that loads your system folder at
  12. bootup, and you have many INIT files (like BeepSound or JClock) that
  13. you want deleted from the RAMdisk to save space.
  14.  
  15. I use this program with Sequencer by Darin Adler.  Sequencer is a
  16. program that can launch several applications sequentially.  I set
  17. Sequencer to launch my RamDisk program followed by AutoDelete.  When
  18. AutoDelete is launched, it will delete all the unneeded INIT files and
  19. the RAMdisk program from the RAMdisk.
  20.  
  21. There are 2 ways you can configure this program :
  22.     A) REMOTE-DELETE - set AutoDelete to delete files in a directory
  23. from another directory.  This is useful if you have a hard disk.  This
  24. configuration only works under HFS.
  25.     B) SELF-DELETE - delete selected files in one directory on the SAME
  26. disk that AutoDelete is on, and then self-destructs.  AutoDelete need
  27. not be in the same directory as the files to be deleted, but it has to
  28. be on the same disk.  This configuration is useful when you are booting
  29. up from a floppy and your RAMdisk program has the option of ejecting
  30. the startup disk.  SELF-DELETE mode works under both HFS or MFS and on
  31. the old ROMs too!
  32.  
  33. HOW TO USE IT
  34.  
  35. 1. Launch ResEdit.
  36.  
  37. 2. If you want to set AutoDelete to REMOTE-DELETE, find the 'STR '
  38. resource named 'SelfDelete' in AutoDelete.  Open that resource.  You
  39. will see a string saying 'Yes'.The yes means it is set to SELF-DELETE
  40. mode.  Change the string to 'No'.  That sets it to REMOTE-DELETE.  To
  41. change back to SELF-DELETE restore the string to the original i.e.
  42. 'Yes'.
  43.  
  44. 3. Find the 'STR ' resource named 'Volume' in AutoDelete.
  45.  
  46. 4. Open that resource.  You will see a string, 'RAMdisk:'.
  47.  
  48. 5. Change that string to the path-name of whatever directory that
  49. contains files you want deleted.  For example, if all the files are you
  50. want to delete are on the disk named 'HAMMER' in the folder named
  51. 'Dolt', type 'HAMMER:Dolt:'.  Remember to append the semi-colon at the
  52. end of the path-name.
  53.  
  54. 6. Open the 'STR#' resource named 'DeleteFiles'.
  55.  
  56. 7. You will see 3 stars at the bottom of the window.  Click on the
  57. stars.  A box will appear around the stars.  Choose NEW from the File
  58. Menu.  That creates a new string in the resource.  Type the name of the
  59. file you want deleted from the directory you have named in step 5
  60. (i.e.  the directory 'HAMMER:Dolt' in the above example).
  61.  
  62. 8. Repeat step 8 until you have listed all the files you want deleted.
  63.  
  64. 9. To remove a file from the list CUT the stars just above the string
  65. holding the file name.
  66.  
  67. 10. Close and save.
  68.  
  69. 11. If you choose REMOTE-DELETE, you can launch AutoDelete from
  70. anywhere. If you chose SELF-DELETE, as a safety precaution, you can
  71. only delete any files when the application is on the same disk as the
  72. files it is to delete.
  73.  
  74. NOTES
  75.  
  76. * To prevent the erasure of files due to an accidental launching of
  77. AutoDelete, hold the mouse button dowm until you return to the Finder.
  78. * Any errors in deleting files or finding the appropriate directory are
  79. indicated by beeps.
  80.  
  81. Acknowledgements & PD Notice
  82.  
  83. * AutoDelete is dedicated to Darin Adler for all the goodies like EUA,
  84. SkipFinder, Sequencer, etc. that he's written.
  85. * This program is free. I hereby put it in the public domain. No
  86. warranties or liability is implied by me for any damages resulting from
  87. the use of this program.
  88. * Portions of this software (c)1986 THINK TECHNOLOGIES.
  89.  
  90. John Lim
  91. All mail to :
  92. 18, Nottingwood St,
  93. Doncaster East,
  94. Victoria,
  95. 3109,
  96. Australia.
  97.  
  98.